* {
    padding: 0;
    margin: 0;
}

html,
body {
    width: 100%;
}

.clearfixed::after {
    display: block;
    content: '';
    clear: both;
    height: 0;
}

a {
    text-decoration: none;
}

ul,
ol,
li {
    list-style: none;
}

header {
    border-bottom: 1px solid #ddd;

    #top {
        width: 100%;
        min-width: 1200px;
        background: #e3e4e5;

        >div {
            width: 1200px;
            height: 16px;
            padding: 7px 0;
            margin: 0 auto;
            color: #999;

            >.iconfont{
                float: left;
                font-size: 12px;
                color: #999;
                &:hover {
                    color: #e1251b;
                }
            }

            >ul {
                float: left;
                margin-left: 300px;
                line-height: 16px;

                li {
                    float: left;
                    padding: 0 10px;
                    border-right: 1px solid #999;

                    a {
                        color: #999;
                        font-size: 12px;

                        &:hover {
                            color: #e1251b;
                        }
                    }
                }
            }
        }
    }

    #head {
        width: 1200px;
        margin: 0 auto;
        padding-top: 20px;
        position: relative;

        .left {
            display: block;
            width: 190px;
            height: 120px;
            float: left;
            background: url(../static/logo.png) no-repeat;
            background-position: 0 0;

            &:hover {
                cursor: pointer;
            }
        }

        .center {
            width: 750px;
            float: left;
            padding-top: 30px;

            .searchAndCart {
                width: 750px;
                height: 36px;

                .search {
                    width: 550px;
                    float: left;
                    height: 32px;
                    border: 2px solid #e1251b;
                    margin-left: 50px;
                    position: relative;

                    input {
                        width: 425px;
                        height: 26px;
                        line-height: 26px;
                        border: 1px solid transparent;
                        outline: none;
                        padding: 2px 44px 2px 17px;
                        // vertical-align: baseline;
                    }

                    a {
                        display: inline-block;
                        line-height: 34px;
                        position: absolute;
                        right: 75px;
                        font-size: 18px;

                        &:hover {
                            color: #e1251b;
                            cursor: pointer;
                        }
                    }

                    button {
                        box-sizing: content-box;
                        width: 56px;
                        height: 34px;
                        float: right;
                        line-height: 34px;
                        text-align: center;
                        border: 0;
                        color: #fff;
                        background-color: #e1251b;
                        font-size: 20px;
                        font-weight: 700;

                        &:hover {
                            cursor: pointer;
                            background-color: #c81623;
                        }
                    }

                }

                .cart {
                    width: 130px;
                    height: 34px;
                    line-height: 34px;
                    border: 1px solid #e3e4e5;
                    float: right;
                    text-indent: 1em;

                    span {
                        color: #e1251b;
                        font-size: 16px;
                        margin-right: 5px;
                    }

                    a {
                        color: #e1251b;
                        font-size: 12px;
                    }
                }

            }

            .hotword {
                width: 550px;
                height: 20px;
                line-height: 20px;
                margin-left: 50px;

                a {
                    color: #999;
                    font-size: 12px;
                    margin-right: 10px;

                    &:hover {
                        color: #e1251b;
                    }
                }
            }

            // .nav {
            //     width: 750px;
            //     height: 40px;
            //     line-height: 40px;
            //     padding-top: 24px;

            //     li {
            //         float: left;
            //         padding: 0 10px;
            //         font-size: 15px;
            //         color: #333;

            //         &:hover {
            //             color: #e1251b;
            //             cursor: pointer;
            //         }
            //     }
            // }

        }

        .right {
            width: 60px;
            height: 60px;
            float: right;
            margin-right: 130px;
            background: url(../static/下载.png) no-repeat;
            background-position: 0 0;

            &:hover {
                cursor: pointer;
            }
        }
    }
}
main{
    width: 100%;
    min-width: 1200px;
    .productDetail{
        width: 100%;
        height: 40px;
        background: #e3e4e5;
        line-height: 40px;
        >div{
            width: 1200px;
            margin: 0 auto;
           >a{
              color: #000;
              font-size: 14px;
              font-weight: 700;
            }
        }
    }
    .concent{
        width: 1200px;
        // height: 1000px;
        margin: 0 auto;
        padding: 20px 0;
        // border: 1px solid #000;
        position: relative;
        .left{
            width: 350px;
            float: left;
            position: relative;
            .imgBox{
                width: 350px;
                height: 350px;
                // border: 1px solid #000;
                position: relative;
                >img{
                    width: 350px;
                    height: 350px;
                }
                .glass{
                    width: 210px;
                    height: 210px;
                    background: #ddd;
                    position: absolute;
                    top: 0;
                    left: 0;
                    pointer-events: none;
                }
            }
            .imgList{
                width: 100%;
                display: flex;
                justify-content: space-between;
                overflow: hidden;
                li{
                    width: 85px;
                    height: 85px;
                    // border: 1px solid #000;
                    flex-shrink:0;
                    flex-grow: 0;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
            }
            .magnifier{
                width: 500px;
                height: 500px;
                // border: 1px solid #000;
                top: 0;
                right: -500px;
                position: absolute;
                overflow: hidden;
                z-index: 99;
                img{
                    position: absolute;
                    top: 0;
                    left: 0;
                }
            }
            .block{
                display: block;
            }
            .none{
                display: none;
            }
            .border{
                border: 2px solid #e1251b;
            }
        }
        .right{
            position: absolute;
            left: 350px;
            right: 0;
            top: 20px;
            bottom: 0;
            padding-left: 20px;
            .productName{
               width: 100%;
               line-height: 38px;
               font-size: 16px;
               font-weight: 700;
            }
            .info{
                width: 100%;
                line-height: 18px;
                font-size: 12px;
                color: #e1251b;
                margin-bottom: 5px;
                
            }
            .productPrice{
                width: 100%;
                background: #efefef;
                padding: 10px 0;
                .price,.rebate{
                    color: #999;
                    font-size: 12px;
                    line-height: 30px;
                    text-indent: 0.5em;
                    span{
                        color: #e1251b;
                        font-size: 16px;
                    }
                }

            }
            .cart{
                margin-top: 10px;
                width: 100%;
                padding: 10px 0;
                border-top: 1px solid #e3e4e5;
                position: relative;
                input[name="num"]{
                    width: 47px;
                    height: 44px;
                    text-align: center;
                    line-height: 44px;
                    font-size: 12px;
                    border: 1px solid #e3e4e5;
                    border-right: 0;
                }
                input[name="plus"]{
                    width: 15px;
                    height: 21px;
                    box-sizing: content-box;
                    background: #f1f1f1;
                    border: 1px solid #e3e4e5;
                    position: absolute;
                    left: 48px;
                    top: 10px;
                }
                input[name="minus"]{
                    width: 15px;
                    height: 22px;
                    box-sizing: content-box;
                    background: #f1f1f1;
                    border: 1px solid #e3e4e5;
                    border-top: 0;
                    position: absolute;
                    left: 48px;
                    top: 33px;
                }
                .cart_href{
                    display: inline-block;
                    width: 140px;
                    height: 48px;
                    position: absolute;
                    top: 10px;
                    left: 80px;
                    background: #e1251b;
                    line-height: 48px;
                    text-align: center;
                    font-size: 18px;
                    color: #fff;
                    font-weight: 700;
                }
            }
            
        }
    }
}